
#pragma once

#include <PacketStruct.h>

class ServerSession;

#define Handler_AG_CONNECTION_DECL( p )			static VOID On##p( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize )
#define Handler_AG_CONNECTION_IMPL( p )			VOID Handler_AG_CONNECTION::On##p( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize )


class Handler_AG_CONNECTION
{
public:
	Handler_AG_CONNECTION(void);
	~Handler_AG_CONNECTION(void);

//	Handler_AG_CONNECTION_DECL( AG_CONNECTION_UNREGISTER_SYN );

//	Handler_AG_CONNECTION_DECL( AG_CONNECTION_ENTERVILLAGEREQ_SYN );
	Handler_AG_CONNECTION_DECL( AG_CONNECTION_DISCONNECT_CMD );
	
	//static VOID OnAG_CONNECTION_UNREGISTER_CMD( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize );
};
